Reference Facilities and Relative Facilities

CygNet supports the ability to resolve and/or display information about a facility that is different from the facility of the configured point for an object. For any given facility you can define a path to another facility within your CygNet environment based on an attribute and a definition.

Known as Reference Facilities and Relative Facilities, these concepts are similar, but the implementation and configuration of each differs.

Reference Facilities

Reference Facilities can only be configured for CygNet-aware tools in CygNet Studio via the [ReferenceFacility] property. Referenced facilities only support a single level of resolution. They can be configured to resolve to a facility that matches a Source Attribute or a Facility Filter Rule.

Example

In the CygNet Studio CygNet-Aware tools, a reference facility can be specified by configuring a filter and an attribute. However the resolution is only one-level deep.

Say you have a Well that is connected to a Central Delivery Point (CDP), it would be possible to show both facilities on a templated screen, because of their single relationship. However, say you have a Tank connected to a Tank Battery that is connected to the CDP, and you had a Well screen, you would not be able to show anything other than the Well and the CDP. Further, if you had a Gas Meter linked to the Well. That’s only one-level away, so you could build a Well screen that shows the Gas Meter and the CDP.

Relative Facilities

Relative Facilities represent a more sophisticated method of referencing related facilities because it allows for multi-level resolution of facilities. This type of facility resolution is configurable (or scripted) from different locations within CygNet.

Example

Using Canvas or any of the other applications that support relative facility resolution, you define the relationships between all of the entities. Then on a Canvas screen or in script you supply the relative facility definition, the source facility and the relative link, and the referenced facilities will automatically resolve.

In Canvas you would be able to build a Well screen showing a Gas Meter linked to a Well connected to a Central Delivery Point (CDP), and a Tank connected to a Tank Battery connected to the CDP, since a Canvas screen can resolve multiple levels of resolution.

A note about point configuration and facility attributes

In CygNet Studio, you must configure a screen object to the point level to resolve the reference facility, even if you want to only show facility attributes. For example, in order to have a text box object show a facility description, you need to configure the UDC of the text box for facility attributes to work. While not necessarily related to reference facility configuration, it's important to know that you cannot show facility attributes in a Studio object unless you have a UDC defined for the object. In Studio any facility resolution is done at the point level.

In Canvas, however, it is possible to configure objects to show facility attributes without the need to configure the UDC. The relative facility methods in the CygNet .NET API do not require the UDC; they just require relative facility definitions, relative facility name, and the source facility tag. In Canvas the resolution is done at the facility level, rather than at the point level.